{extend name="base/main" /}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="ibox float-e-margins">
    <div class="ibox-title">
      <h5>会员管理 / 会员等级添加</h5>
    </div>
    <div class="ibox-content">
      <form action="{:url('Member/save')}" class="form-horizontal m-t">
        <div class="form-group">
          <label class="col-sm-2 control-label">会员名：</label>
          <div class="col-sm-4">
            <input name="title" class="form-control" type="text" datatype="*2-30" placeholder="月卡">
            <span class="help-block m-b-none Validform_checktip" ></span>
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">有效时间：</label>
          <div class="col-sm-4">
            <input type="radio" name="vip_day" value="1" title="月">月
            <input type="radio" name="vip_day" value="2" title="季">季
            <input type="radio" name="vip_day" value="3" title="年" checked>年
            <input type="radio" name="vip_day" value="4" title="永久">永久
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">会员原价：</label>
          <div class="col-sm-4">
            <input name="original_price" class="layui-input" type="text" placeholder="30.00">
            <span class="help-block m-b-none Validform_checktip" ></span>
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">会员优惠后价格：</label>
          <div class="col-sm-4">
            <input name="price" class="layui-input" type="text" placeholder="20.00">
            <span class="help-block m-b-none Validform_checktip" ></span>
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">排序</label>
          <div class="col-sm-4">
            <input type="number" name="sort" class="layui-input" >
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">是否免费：</label>
          <div class="col-sm-4">
            <input type="radio" name="is_free" value="1" title="是">是
            <input type="radio" name="is_free" value="2" title="否" checked>否
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">是否永久：</label>
          <div class="col-sm-4">
            <input type="radio" name="is_permanent" value="1" title="是">是
            <input type="radio" name="is_permanent" value="2" title="否" checked>否
          </div>
        </div>
        <div class="form-group">
          <label class="col-sm-2 control-label">是否发布：</label>
          <div class="col-sm-4">
            <input type="radio" name="is_publish" value="1" title="是" checked>是
            <input type="radio" name="is_publish" value="2" title="否">否
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-4 col-sm-offset-3">
            <button class="btn btn-primary" type="submit">提交</button>
            <button class="btn btn-default historygo" type="button">返回</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
{/block}